package mest.service.hws;

import mest.entity.plan_productjob_purchase;
import mest.entity.plan_productjob_purchase_record;
import mest.entity.warehouse_productjob_purchase;
import org.springframework.stereotype.Service;

import java.util.List;


public interface plan_productjob_purchaseService {

    int insert(String theirDb,List<plan_productjob_purchase> record);

    String selectByPrimaryKey(String theirDb,Integer id);

    String selectPrimary(String theirDb,Integer limit,Integer page,Integer ppId,Integer status);

//    int selectcount(Integer ppId,Integer status);

    String updateByPrimaryKey(String theirDb,plan_productjob_purchase record);

    int updateByone(String theirDb,
                    List<plan_productjob_purchase_record> record);

}
